package com.partterns.proxy;


import com.partterns.reflect.ReflectServiceImpl;

public class CglibProxyTest {
    public static void main(String[] args){
        testCGLIBProxy();
    }
    public static void testCGLIBProxy(){
        CglibProxyExample cge=new CglibProxyExample();
        ReflectServiceImpl obj= (ReflectServiceImpl) cge.getProxy(ReflectServiceImpl.class);
        obj.sayHello("最怕空气突然安静，最怕朋友突然的关心，最怕回忆突然翻滚");
    }

}
